package org.gd.hellojaxb.privat24.other;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "reg_user")
public class AccountOrderWrapper {

    @XmlElement(name = "status", required = true)
    private String status = "";
    @XmlElement(name = "error", required = true)
    private String error = "";
    @XmlElement(name = "okpo")
    private String okpo;
    @XmlElement(name = "phone")
    private String phone;

    public AccountOrderWrapper() {
    }

    public AccountOrderWrapper(String status) {
        this.status = status;
    }

    public AccountOrderWrapper(String status, String error) {
        this.status = status;
        this.error = error;
    }

    public String getStatus() {
        return status;
    }

    public AccountOrderWrapper setStatus(String status) {
        this.status = status;
        return this;
    }

    public String getError() {
        return error;
    }

    public AccountOrderWrapper setError(String error) {
        this.error = error;
        return this;
    }

    public String getOkpo() {
        return okpo;
    }

    public AccountOrderWrapper setOkpo(String okpo) {
        this.okpo = okpo;
        return this;
    }

    public String getPhone() {
        return phone;
    }

    public AccountOrderWrapper setPhone(String phone) {
        this.phone = phone;
        return this;
    }
}
